import request from '@/api/request/axios'

// 保存短信记录接口
export const saveShortMessage = (params) => request({
  url: window.CONFIG.bizServerUrl + '/v1/message/saveShortMessageData',
  method: 'post',
  data: params
})

// 获取短信记录接口
export const getShortMessage = (params) => request({
  url: window.CONFIG.bizServerUrl + '/v1/message/getShortMessageData',
  method: 'post',
  data: params
})

// 获取短信模板
export const messageTemplate = (params) => request({
  url: window.CONFIG.restIps + '/v1/console/base/data/v_workbench_sms_template/list',
  method: 'post',
  data: params
  // headers: {
  //   'tenantId': Constants.Agent.tenantId
  // }
})
